package open.example.easyspringsecurity.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @GetMapping("/hello")
    public String helloController() {
        return "hello!";
    }

    @GetMapping("/admin")
    public String adminController() {
        return "admin!";
    }

}